package com.woniuxy.credit_loans.staff_dong.service.impl;

import com.woniuxy.credit_loans.entity.Dept;
import com.woniuxy.credit_loans.mapper.DeptMapper;
import com.woniuxy.credit_loans.staff_dong.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    private DeptMapper deptMapper;
    @Override
    public List<Dept> selAll() {
        return deptMapper.selAll();
    }
}
